package my.test.status;

/**
 * @Author 许玉康
 * @Date 2019-10-30 10:42
 */
public class Lift implements ILift {

    private int state;

    @Override
    public void setState(int state) {
        this.state = state;
    }

    @Override
    public void open() {

    }

    @Override
    public void close() {

    }

    @Override
    public void run() {

    }

    @Override
    public void stop() {

    }

    //电梯门关闭
    public void openWithoutLogic() {
        System.out.println("电梯门关闭...");
    }

    //电梯门开启
    public void closeWithoutLogic() {
        System.out.println("电梯门开启...");
    }

    //电梯门运行起来
    public void runWithoutLogic() {
        System.out.println("电梯门运行起来...");
    }

    //电梯停止
    public void stopWithoutLogic() {
        System.out.println("电梯停止...");
    }


}
